__author__ = 'AndreyKa'


class Search(object):
    """
    This class contains search parameters.
    """
    def __init__(self, search_inf=""):
        self.search_inf = search_inf

    @classmethod
    def valid_search1(cls):
        return cls(search_inf='Judge')

    @classmethod
    def valid_search2(cls):
        return cls(search_inf='Avatar')

    @classmethod
    def valid_search3(cls):
        return cls(search_inf='Transcendence')

    @classmethod
    def invalid_search(cls):
        return cls(search_inf='invalid film')